package com.hebxy.ssm.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hebxy.ssm.dao.PlanMapper;
import com.hebxy.ssm.entity.Plan;
import com.hebxy.ssm.service.PlanService;
@Service
public class PlanServiceImpl implements PlanService{
	
	@Autowired
	private PlanMapper planMapper;
	
	@Override
	public List<Plan> findPlanAll() {
		
		return planMapper.getPlanAll();
	}

	@Override
	public Plan findPlanById(Integer id) {
		
		return planMapper.getPlanById(id);
	}

}
